<?php
class Engine_Form_Element_TextArea extends Engine_Form_Element {

    public function __construct($name){
        parent::__construct($name);
        $this->setAttrib('rows',5);
    }


    public function compile() {
        $result = '<textarea placeholder="' . $this->label . '" ' . $this->renderAttribs() . ' >' . $this->value . ' </textarea>'."\r\n";
        return $result;
    }

    public function populate($value) {
        $this->setValue($value);
    }

}